public class Job {
    //作业名
    private String jobName;
    //作业到达时间
    private int jobArrivalTime;
    //作业服务时间
    private int jobServiceTime;
    //下一个作业的链接
    private Job lastJob;
    //作业开始时间
    private int jobStartTime;
    //作业完成时间
    private int jobOverTime;
    //作业周转时间
    private int jobRoundTime;
    //作业带权周转时间
    private double jobAvgRoundTime;
    //get和set方法
    public String getJobName() {
        return jobName;
    }
    public void setJobName(String jobName) {
        this.jobName = jobName;
    }
    public int getJobArrivalTime() {
        return jobArrivalTime;
    }
    public void setJobArrivalTime(int jobArrivalTime) {
        this.jobArrivalTime = jobArrivalTime;
    }
    public int getJobServiceTime() {
        return jobServiceTime;
    }
    public void setJobServiceTime(int jobServiceTime) {
        this.jobServiceTime = jobServiceTime;
    }
    public Job getLastJob() {
        return lastJob;
    }
    public void setLastJob(Job lastJob) {
        this.lastJob = lastJob;
    }
    public int getJobOverTime() {
        return jobOverTime;
    }
    public void setJobOverTime(int jobOverTime) {
        this.jobOverTime = jobOverTime;
    }
    public int getJobRoundTime() {
        return jobRoundTime;
    }
    public void setJobRoundTime(int jobRoundTime) {
        this.jobRoundTime = jobRoundTime;
    }
    public int getJobStartTime() {
        return jobStartTime;
    }
    public void setJobStartTime(int jobStartTime) {
        this.jobStartTime = jobStartTime;
    }
    public double getJobAvgRoundTime() {
        return jobAvgRoundTime;
    }
    public void setJobAvgRoundTime(double jobAvgRoundTime) {
        this.jobAvgRoundTime = jobAvgRoundTime;
    }
    @Override
    public String toString() {
        return "Job{" +
                "jobName='" + jobName + '\'' +
                ", jobArrivalTime=" + jobArrivalTime +
                ", jobServiceTime=" + jobServiceTime +
                ", lastJob=" + lastJob +
                ", jobStartTime=" + jobStartTime +
                ", jobOverTime=" + jobOverTime +
                ", jobRoundTime=" + jobRoundTime +
                ", jobAvgRoundTime=" + jobAvgRoundTime +
                '}';
    }
}